package com.cl.blog.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author 付
 * @Date 2024-03-29 14:09
 * @Version 1.0
 * @description 管理员新增用户实体
 * @since 1.0
 */

@Data
public class RegisterUserVo {
	private String nickname;
	@NotBlank(message = "抱歉，用户名不能为空")
	private String username;
	@NotBlank(message = "抱歉，密码不能为空")
	private String password;
	private String email;
	private String avatar;
}
